import request from '@/utils/request'

// 查询photo列表
export function listPhoto(query) {
    return request({
        url: '/blog/photo/list',
        method: 'get',
        params: query
    })
}

// 查询photo详细
export function getPhoto(id) {
    return request({
        url: '/blog/photo/' + id,
        method: 'get'
    })
}

